home *** CD-ROM | disk | FTP | other *** search
- Path: halon.vggas.com!news
- From: JYoungman@vggas.com (James Youngman)
- Newsgroups: comp.lang.c
- Subject: Re: Speed of random generators
- Date: 4 Mar 1996 16:48:34 GMT
- Organization: VG GAs Analyis Systems
- Message-ID: <4hf6t2$6lc@halon.vggas.com>
- References: <TAKAHASI.96Mar1113825@poisson.ece.cmu.edu> <4h7mbkINNqkr@anvil.ugrad.cs.ubc.ca>
- Reply-To: JYoungman@vggas.com
- NNTP-Posting-Host: 132.147.163.4
- X-Newsreader: News Version 5.0 from Hummingbird Communications Ltd.
-
- >In article <TAKAHASI.96Mar1113825@poisson.ece.cmu.edu>,
- >Eduardo S. C. Takahashi <takahasi@poisson.ece.cmu.edu> wrote:
- > >
- > >I'm working in a simulation that requires intensive use of pseudo-random
- > >sequences. My problem is that profiling the program I found out that the
- > >generation of the sequences is responsible for about 50% of the total
- > >execution time. Since each run can take about 4 hours, it would be good
- > >if I could save some time.
-
- The trouble with this is, if you use a poor quality random number generator,
- the quality of the result can suffer -- sometimes badly -- and lead you to do
- longer runs to get decent results, meaning that the job gets done slower with a
- faster, pooere, random number generator. However, that are some that are good,
- AND fast.
-
- James.
-
- James Youngman
-